<template>
    <div class="title">
        {{ title }}
    </div>
</template>

<script setup lang="ts">
import { defineProps } from 'vue'

const { title } = defineProps(['title'])

</script>

<style lang="scss" scoped>
.title {
    width: 100%;
    height: 30px;
    background-image: url(../../assets/左.png);
    padding-left: 20px;
    color: #bbb;
    font-weight: bold;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    line-height: 30px;
    font-size: 16px;
}
</style>